How do I check file status?

API Reference says status and status_details fields for files are deprecated. What are the alternatives for this?