get file data from Docpad database