Added retrieve files method