use __FILE__ constant rather than DOCUMENT_ROOT. resolves #3