Clean up file execution portion of code.