added limit in the number of files
added sinatra-flash