Fixed: It is no longer possible to leave the file field empty when creating a new file record. Closes #351