Added unit tests for the fileName field.
Bugfix: file names were not lowercased