Refactored files module, added isValidPath and send APIs, fixed update and remove APIs.