def getfilecontent(file):
    """Get entire file contents"""
    with open(file) as f:
        file_in_list_format = f.readlines()
        file_in_list_to_string_format = ''
        for line in file_in_list_format:
            file_in_list_to_string_format += line
    return file_in_list_to_string_format
