Performing changes to receive type and parse the file