def ImportStoryIDs(path_to_file):
    """
    .. versionadded:: 0.1.0

    Reads FanFiction.Net story-ids from a file, where each story-id is on
    a separate line. Returns a list of strings representing story-ids.

    :param path_to_file: path to a file containing story-ids from
                         FanFiction.Net, where each story-id is
                         contained on a newline.
    :type path_to_file: str.
    :returns: A list of strings representing the story-ids.
    :rtype: list of strings.

    Example:

    .. code-block:: python

                    # File: example.py
                    import ffscraper as ffs

                    # Story-ids in this example are stored in a text file.
                    sids = ffs.utils.ImportStoryIDs('data/Coraline/sids.txt')
                    print(sids)

    .. code-block:: bash

                    $ cat data/Coraline/sids.txt
                    123
                    344
                    $ python example.py
                    ['123', '344']

    .. warning::
       This function was designed and tested with Unix-style paths and
       end-of-line characters in mind, these have not been tested thoroughly
       on Windows.
    """

    with open(path_to_file) as f:
        sids = f.read().splitlines()

    return sids