Using global instead of locally storing.
Moving file names in to globals.