Ristrict File after time out