Get file information by ID

Retrieves file information if the user belongs to the same environment