fixed file selection filter
add persistence for files