bugfix on file name call