Add support for subargs to allow passing file extension