fileapi remove old folder