Switched getResourceAsStream to FileInputStream.