fix path name and excluded not named files.