customize url of path of file entity
File entity doesn't currently integrate with Pathauto but integration is being worked on in Add support for Pathauto.

Please help test the latest patch and provide feedback including if it works correctly and any issues you might have found!