check if file exists
error on non existing file
hide error message with non reachable api