Added check for .oc suffix, refactored preprocessing step. Would like to further consolidate preprocessing from main function.