file passing hack