fix multiple files in same directory