public static boolean isReadable(final File file){
  if (file == null || !file.isFile()) {
    Log.e(FileUtils.class,"isReadable(): Null parameter given or not a File");
    return false;
  }
  return file.exists() && file.canRead();
}

public static boolean isReadable ( final File file ) { if ( file == null || ! file . isFile ( ) ) { Log . e ( FileUtils . class , "isReadable(): Null parameter given or not a File" ) ; return false ; } return file . exists ( ) && file . canRead ( ) ; }
method checks if file could be read or created
