Added more restrictions on files