Refactor remote operation to read folder