Linear filter and some file changes