Fix some more files endpoints