modify the file struct for openerp apps