changed finf to handle quoted arguments