Update file.js

Slight edit to regex so that comments can still be on same line