Incorporate file attributes to actual invocation of psql command