Fixes in method to remove files.
Bugfixes in getters for filename.