check for files