Added solution to for first 5 problems for files