Fix filename start problem when multiple files with same name matc