Clean input directory