Input files generation.