ACCESS-111: Rename appendToPolicyFileWithNewLine to append and make it varags