def read_file_to_list(file_path):
        """ Reads a text file line by line.

        Args:
        file_path: string
        
        Returns: list[string]

        """

        with open(file_path) as f:
            return [x.strip() for x in f.readlines() if x.strip() != '']