Change flag for checking file availability