Fixing . (dot) and filelist issue