Documentation for file and fixes