Fix calls for file_entity function.