handle the case when the file doen't exist