PLA-1308: fixed logic for edge case of : in a file description