checking if logfile in cwd within prepend_old_log