modification in View and file.pt