Use input stream instead of path literals.