Implement file listing restrict taking care of allowedFileTypes media source property