FILE AND OUTPUT GENERATION

X