render file using the absolute path to it

to resolve 

#982
#974