corrected file architecture