def slurp_file(file_path):
    """Reads the given file into an array and returns it"""
    return_array = []
    my_file = open(file_path, "r")
    if my_file:
        return_array = my_file.readlines()
    return return_array