Optimisation: File ratings by user
Optimised the code for the file ratings by user section which should dramatically reduce load times for this area.