Fixes setContentFromFile