Check if the file exists instead of relying on the return of filemtime
It throws a warning.