check if file is readable before include