Switched filename to path