Returns the path of a file on the *local* system that can be read
        from. If the filepath is on a remote server, the file is first copied
        locally.

def _read_check(self, filepath):
        """Returns the path of a file on the *local* system that can be read
        from. If the filepath is on a remote server, the file is first copied
        locally."""
        if self.is_ssh(filepath):
            self._check_ftp()
            #First we need to generate a file path on the local system to
            #copy the file to.
            source = self._get_remote(filepath)
            target = self._get_hashed_path(filepath)
            self.ftp.get(source, target)
            #Now we can just read it with the normal python commands.
        else:
            target = filepath
        
        return target