Fix typos in file app. Set new default perm for registered and anonymous group.
Insert unit tests for the file model.