Fixing remove file to use POST