created directories for input and output files