Added support file filenames in EMongoFile

refs #155
Switched or with ||

refs #156
Wrapped logical && into braces

refs #156
More safe if statement in getFilename()

refs #156
Merge pull request #156 from tvollstaedt/issue155

Added support for  filenames in EMongoFile