Add file extension limitation.