chmod 0755, $filename or warn "Could not chmod $filename: $!"