accept glob refs and array refs and file handles oh my!