def get_requirements(path):
    """ Import user's requirement file and save as a variable """
    user_requirements_list = []
    with open(path, 'r') as filehandler:
        user_requirements_list = [package_name.rstrip() for package_name in filehandler.readlines()]
    return user_requirements_list