Format file syntax for View custom command