Remove files and return filename.

def process_file(self, path, dryrun):
        """
        Remove files and return filename.
        """
        # if dryrun just return file path
        if dryrun:
            return path

        # remove and return file
        if self.__force or raw_input("Remove file '%s'? [y/N]" % path).lower() == "y":
            os.remove(path)
            return path