Fixed the error if there is no file available.  Also fixed the subprocess call to email the checkin.txt file.