new method in fop.js file operations api