Changed how files are requested from post