Removed function getAllFiles