fixing directory pathing problems in the way uploaded files were identified.