the :: ? I called removeFile remove before and it solves the ambiguity between the member and the global function remove().