If aPath contains a http then use URLWithString instead of fileURLWithPath