fixed a typo on filesapi