The speed of access to files in a random access file compared to other file…