Put input file in the correct dir