The javascript necessary to handle reading files must go in the 'Tests' tab, not the 'Pre-request' or 'Post-response' tabs