Cleaned up more stuff. Now automatically adds .stat to end of file if no "." is detected. Does not add anything if it finds a "." in the file name