Revert "LPS-44052 Source formatting"

This reverts commit dcf684b144a54882679cc120be08e0d170e4c072.
Revert "LPS-44052 don't use url.openConnection if url is file (helps JBoss WildFly)."

This reverts commit 347e568b41fc9af29abf4531309d3e157d6ece19.
Revert "LPS-44052 Do not leave file handles open"

This reverts commit ecd8840fde81e5995b911466c6701893e6d4f487.
LPS-44052 A cleaner solution
LPS-44052 Source formatting