use -f for file path and url