check if the file is online