Extract Tar file & generate output input files