resolve arguments against current directory