Support file argument when launching application