Changes to POST File Optimize

post/api/files/optimize