Update the create_file method with additional attributes
Finish existing generic file view tests