* @param $bytes Amount of bytes to read or whole line (only text files)
* @return $data Data read from file
* @throws NullPointerException If the file pointer instance
* @param $bytes Amount of bytes to read or whole line (only text files)
* @return $data Data read from file
* @throws NullPointerException If the file pointer instance